/**
 * Created by wh on 2015/8/24.
 */
define(['main'],function(module){
    module.filter('propertyFilter', function() {
        return function(input,property,value) {
            var output=[];
            $(input).each(function(index,v){
                if(v[property]==value){
                    output.push(v);
                }
            });
            return output;
        };
    });
});
